From: Ray Strode Date: Mon, 29 Aug 2011 16:04:17 +0000 (-0400) Subject: popupMenu: Raise menu when popping it up X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~7869 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=7f767c49d8f7279c561e9cdeaf2ca6bdd47ad634;p=gnome-shell.git popupMenu: Raise menu when popping it up When a menu gets popped up, it should never pop behind anything else in the shell. https://bugzilla.gnome.org/show_bug.cgi?id=657082 --- diff --git a/js/ui/popupMenu.js b/js/ui/popupMenu.js index afa851d44..7b28108de 100644 --- a/js/ui/popupMenu.js +++ b/js/ui/popupMenu.js @@ -1112,6 +1112,8 @@ PopupMenu.prototype = { this._boxPointer.setPosition(this.sourceActor, this._alignment); this._boxPointer.show(animate); + this.actor.raise_top(); + this.emit('open-state-changed', true); },